<!DOCTYPE html>
<iframe src="//www2.web-platform.test:8080/dom/resources/EventListener-incumbent-global-subsubframe.html"></iframe>
<script>
  document.domain = "web-platform.test";
  onmessage = function(e) {
    if (e.data == "start") {
      frames[0].document.body.addEventListener("click", frames[0].getTheListener());
      frames[0].postMessage("sendclick", "*");
    } else {
      parent.postMessage(e.data, "*");
    }
  }
</script>
